<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1"%>
<%@taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<s:if test="hasActionErrors()">
	<s:include value="messages.jsp">
		<s:param name="errorMsg">
			<s:actionerror />
		</s:param>
	</s:include>
</s:if>
<!-- <s:if test="hasActionMessages()">
   <div class="welcome">
      <s:actionmessage/>
   </div>
</s:if> -->

<s:form id="doctorRegForm" cssStyle="padding-left:50px">
	<h2 class="pad_bot1">Registration Form</h2>
	<table>
		<tr>
			<td class="tdRight"><s:label for="loginIdTxt" value="%{getText('docHunt.doctorReg.email')}:" /></td>
			<td><s:textfield name="userDTO.loginId" id="loginIdTxt"
					grey-vlaue="Type Your E-mail Here" cssClass="input"></s:textfield>
			</td>
		</tr>
		<tr>
			<td class="tdRight"><s:label for="passwordTxt" value="%{getText('docHunt.doctorReg.password')}:" /></td>
			<td><s:password name="userDTO.password" id="passwordTxt"
					grey-vlaue="Type Your Password" cssClass="input"></s:password>
			</td>
		</tr>
		<tr>
			<td class="tdRight"><s:label for="confirmPasswordTxt" value="%{getText('docHunt.doctorReg.confirmPassword')}:" /></td>
			<td><s:password name="confirmPassword" id="confirmPasswordTxt"
					grey-vlaue="Type your Password" cssClass="input"></s:password>
			</td>
		</tr>
		<tr>
			<td>
				<br />
			</td>
		</tr>	
		<tr>
			<td colspan="2" align="center">
				<button type="button" value="Register" class="button" onclick="formSubmit(this.value,this.form,'doctorRegSubmit.action');">Register</button>
				&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
				<button type="button" value="Cancel" class="button">Cancel</button>
			</td>
		</tr>
		<tr>
			<td><br /> <br /> <br /> <br /> <br /> <br /> <br /> <br />
				<br /> <br />
			</td>
		</tr>
	</table>
</s:form>
<script type="text/javascript">
	applyStyle();	
</script>